﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace zcl1
{
    class Program
    {
        enum Occupation
        {
            战士,
            法师,
            精灵
        }
        enum Fruit
        {
            香蕉 = 2,
            苹果 = 3,
            西瓜 = 5,
            草莓 = 2,
            葡萄 = 1,
            哈密瓜 = 8,
            奇异果 = 4
        }
        enum OrderProduct
        {
            新订单,
            已发货,
            已签收,
            已评价
        }
        class Program2
        {
            static void Main(string[] args)
            {
                OrderProduct op = OrderProduct.已发货;
                Console.WriteLine(op);

                OutPutScore(Fruit.奇异果);
                OutPutSkill(Occupation.战士);
            }

            private static void OutPutSkill(Occupation o)
            {
                switch (o)
                {
                    case Occupation.战士:
                        Console.WriteLine("碎石打击、烈焰锚钩、战斗咆哮");
                        break;
                    case Occupation.法师:
                        Console.WriteLine("巨浪冲击、元素突击、复仇杀戮");
                        break;
                    case Occupation.精灵:
                        Console.WriteLine("减速陷阱、能量浪潮、旋风剑舞");
                        break;
                    default:
                        break;
                }
            }
            static void OutPutScore(Fruit f)
            {
                int score = (int)f;
                Console.WriteLine(score + "分");

            }



        }
    }
}
    

